package com.lagou.rabbitmqtask.dao;

import com.lagou.rabbitmqtask.pojo.Order;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderDao {

    void newOrder(Order order);

    List<Order> getOrderList();

    void updateOrder(@Param("order_id") String order_id, @Param("is_pay") String is_pay);
}
